package _05卖票2;

public class TestDemo {

	public static void main(String[] args) {

		// 3个售票员 每个人一起卖100张票

		SellerRunnable r = new SellerRunnable();

		Thread s1 = new Thread(r);
		s1.setName("张三");
		Thread s2 = new Thread(r);
		s2.setName("李四");
		Thread s3 = new Thread(r);
		s3.setName("王五");

		s1.start();
		s2.start();
		s3.start();

	}
}
